<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>

<%@ include file="../include_top.jsp" %>

	<div class="searchParam">
		<jsp:include page="/common/param" flush="true" />
			<div>
			<input class="submit" type="button" id="submit" value="查询" onclick="search();"/>
			</div>
	</div>

	<div class="searchResult" id="searchResult">

	</div>

	<script type="text/javascript">
	    document.all.title.innerText="VIP查询";
	    document.all.nav_vip.style.color="red";

	    document.all.channelList.hidden=true;

	    function search(){
	       var postData = "startDay="+ getStartDay() +"&endDay="+ getEndDay() +"&"+ getServerIds();

	       $.ajax({
	         url:"/vip/vip_search",
	         type:"post",
	         data:postData,
			   beforeSend: function () {
				   $("#searchResult").html("正在查询...");
				   $("#submit").attr("disabled","disabled");
			   },
			   success:function( result ){
				   $("#searchResult").html( result );
				   $("#submit").removeAttr("disabled");
			   }
	       })
	    }

	</script>

<%@ include file="../include_bottom.jsp" %>